package com.soulless.pattern3;

/**
 * java课程工厂
 *
 * @author zenglei
 * @date 2022/11/16 11:26
 */
public class JavaCourseFactory extends AbstractCourseFactory {
    protected INote createNote() {
        super.init();
        return new JavaNote();
    }

    protected IVideo createVideo() {
        super.init();
        return new JavaVideo();
    }

    protected ICourse createCourse() {
        super.init();
        return new JavaCourse();
    }
}
